package wx;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@RefreshScope
@Data
@Component
@ConfigurationProperties(MiniProperties.PREFIX)
public class MiniProperties {
    public static final String PREFIX = "mini-app";
    private String appId;
    private String appSecret;
}
